#ifndef _UFO_COMMON_GESTURE_H_
#define _UFO_COMMON_GESTURE_H_

#include "struct.h"

typedef enum _UFO_Direction
{
    UFO_LEFT = 1,
    UFO_TOP = 2,
    UFO_RIGHT = 4,
    UFO_BOTTOM = 8,
}UFO_Direction;

UFO_Direction ufoGestureCalDircetion(ufoPoint *point, int count);

ufoPoint ufoGestureCalcSpeed(ufoPoint *point, int count, long deltaTime);

#endif